﻿using MusicExplorer.Common;
using MusicExplorer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MusicExplorer.ViewModel.Wrappers
{
    public sealed class TrackWrapper : TileWrapper
    {
        private readonly string m_name;

        public TrackWrapper(ViewModelBase parent, Track track)
            : base(parent, track)
        {
            m_name = track.Name;
        }

        public override string Name { get { return m_name; } }
        public override string Image { get { return ((Track)Entity).BigArtwork; } }
    }
}
